var express = require('express');
var router = express.Router();
var cypto = require('crypto');
/* GET home page. */
router.get('/', function(req, res, next) {
  console.log('=========')
  var s = "appid=wx00e38d6589407150&nonce_str=1ztz1wj5rx2bj4i&package=prepay_id=wx20160713131457695e24f05a0090445458&signType=MD5&timeStamp=1468386893425&key=Ymitd2BcUowhSeLgY8h1c4EHjtteN7Y0";
  //var cypto = require('crypto');
  console.log(cypto.createHash('md5').update(s,'utf8').digest('hex').toUpperCase())
  res.render('index', { title: 'InspireBack' });
});

module.exports = router;
